package org.blueoxygen.rest.geneology;

public enum RelationshipStatus {
	SINGLE("Single"), MARRIED("Married"), IN_RELATIONSHIP("In Relationship");

	private String string;

	private RelationshipStatus(String string) {
		this.string = string;
	}

	public String getDeclared() {
		return string;
	}

	public int getOrdinal() {
		return ordinal();
	}

	public RelationshipStatus getByIndex(int index) {
		return RelationshipStatus.values()[index];
	}

}
